package xx.iverson.school_manage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xx.iverson.school_manage.entity.Classes;

import java.util.List;

/**
 * xx.iverson.school_manage.mapper.ClassesMapper
 * <p>
 * on 2024/9/14
 *
 * @author weijx
 */
@Mapper
public interface ClassesMapper {

    List<Classes> selectClasses();

    boolean insertClasses(@Param("classId") Integer classId, @Param("classesName") String classesName);

    boolean deleteClasses(Integer classesId);

    Integer selectById(Integer classesId);

}
